﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004E3 RID: 1251
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EvolveBuildStartStageCsReq : IMessage<EvolveBuildStartStageCsReq>, IMessage, IEquatable<EvolveBuildStartStageCsReq>, IDeepCloneable<EvolveBuildStartStageCsReq>, IBufferMessage
	{
		// Token: 0x17001036 RID: 4150
		// (get) Token: 0x0600389A RID: 14490 RVA: 0x0009BF70 File Offset: 0x0009A170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EvolveBuildStartStageCsReq> Parser
		{
			get
			{
				return EvolveBuildStartStageCsReq._parser;
			}
		}

		// Token: 0x17001037 RID: 4151
		// (get) Token: 0x0600389B RID: 14491 RVA: 0x0009BF77 File Offset: 0x0009A177
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EvolveBuildStartStageCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001038 RID: 4152
		// (get) Token: 0x0600389C RID: 14492 RVA: 0x0009BF89 File Offset: 0x0009A189
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EvolveBuildStartStageCsReq.Descriptor;
			}
		}

		// Token: 0x0600389D RID: 14493 RVA: 0x0009BF90 File Offset: 0x0009A190
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildStartStageCsReq()
		{
		}

		// Token: 0x0600389E RID: 14494 RVA: 0x0009BF98 File Offset: 0x0009A198
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildStartStageCsReq(EvolveBuildStartStageCsReq other) : this()
		{
			this.levelId_ = other.levelId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600389F RID: 14495 RVA: 0x0009BFBD File Offset: 0x0009A1BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildStartStageCsReq Clone()
		{
			return new EvolveBuildStartStageCsReq(this);
		}

		// Token: 0x17001039 RID: 4153
		// (get) Token: 0x060038A0 RID: 14496 RVA: 0x0009BFC5 File Offset: 0x0009A1C5
		// (set) Token: 0x060038A1 RID: 14497 RVA: 0x0009BFCD File Offset: 0x0009A1CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LevelId
		{
			get
			{
				return this.levelId_;
			}
			set
			{
				this.levelId_ = value;
			}
		}

		// Token: 0x060038A2 RID: 14498 RVA: 0x0009BFD6 File Offset: 0x0009A1D6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EvolveBuildStartStageCsReq);
		}

		// Token: 0x060038A3 RID: 14499 RVA: 0x0009BFE4 File Offset: 0x0009A1E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EvolveBuildStartStageCsReq other)
		{
			return other != null && (other == this || (this.LevelId == other.LevelId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060038A4 RID: 14500 RVA: 0x0009C014 File Offset: 0x0009A214
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.LevelId != 0U)
			{
				num ^= this.LevelId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060038A5 RID: 14501 RVA: 0x0009C053 File Offset: 0x0009A253
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060038A6 RID: 14502 RVA: 0x0009C05B File Offset: 0x0009A25B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060038A7 RID: 14503 RVA: 0x0009C064 File Offset: 0x0009A264
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LevelId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.LevelId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060038A8 RID: 14504 RVA: 0x0009C098 File Offset: 0x0009A298
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.LevelId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LevelId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060038A9 RID: 14505 RVA: 0x0009C0D6 File Offset: 0x0009A2D6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EvolveBuildStartStageCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.LevelId != 0U)
			{
				this.LevelId = other.LevelId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060038AA RID: 14506 RVA: 0x0009C107 File Offset: 0x0009A307
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060038AB RID: 14507 RVA: 0x0009C110 File Offset: 0x0009A310
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.LevelId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400164B RID: 5707
		private static readonly MessageParser<EvolveBuildStartStageCsReq> _parser = new MessageParser<EvolveBuildStartStageCsReq>(() => new EvolveBuildStartStageCsReq());

		// Token: 0x0400164C RID: 5708
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400164D RID: 5709
		public const int LevelIdFieldNumber = 8;

		// Token: 0x0400164E RID: 5710
		private uint levelId_;
	}
}
